Debug app hangs in Windows 64-bit build#242
Merged
dmchaledev merged 1 commit intomainfrom Jan 7, 2026
Merged
Conversation
CRITICAL FIX: Enable renderer fallbacks for Windows compatibility Root Cause Analysis: - export_presets.cfg had ANGLE=0 and D3D12=0 (DISABLED!) - Windows users without Vulkan support had NO renderer fallback - This caused immediate freeze/hang on startup for many Windows PCs Fixes applied: 1. export_presets.cfg: - Enable ANGLE (OpenGL ES via DirectX 11): export_angle=2 - Enable D3D12 fallback: export_d3d12=1 - This provides fallback renderers for systems without Vulkan 2. scene_transition_manager.gd: - Replace synchronous load() with threaded ResourceLoader - Add 30-second timeout to prevent infinite hangs - Add fallback to change_scene_to_file on failure 3. ShiftSummaryScreen.gd (line 958-982): - Add 30-second timeout to while-loop resource loading - Handle THREAD_LOAD_INVALID_RESOURCE status - Fallback to direct scene load on timeout 4. simple_scene_loader.gd: - Add 60-second timeout to threaded load loop - Handle THREAD_LOAD_INVALID_RESOURCE status - Prevent infinite loop in background thread Additional findings for future investigation: - Multiple autoloads call Steam.isSteamRunning() during _ready() which could block if Steam is unresponsive (Global.gd:68, SteamManager.gd:51, SentryManager.gd:77, LogManager.gd:52)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CRITICAL FIX: Enable renderer fallbacks for Windows compatibility
Root Cause Analysis:
Fixes applied:
export_presets.cfg:
scene_transition_manager.gd:
ShiftSummaryScreen.gd (line 958-982):
simple_scene_loader.gd:
Additional findings for future investigation: